<table width="90%" align="center" border="1" style="border-collapse: collapse; border-color: rgb(0, 0, 0);">
<thead>
	<tr>
	<th width="150">订单号</th>
	<th align='center' width="100">订单类型</th>
	<th align='center' width="100">下单时间</th>
	<th align='center' width="150">订单状态</th>
	<th align='center' width="400">产品名称</th>
	</tr>
</thead>
<tbody>
<?php
if(isset($orderList) && $orderList):
foreach ($orderList as $order):
if(empty($order))continue;
?>
<tr align="center">
	<td><?php echo $order['order_sn'];?></td>
	<td>正常</td>
	<td><?php echo date('Y-m-d H:i:s',$order['start_time']);?></td>
	<td><?php echo OrderModel::$orderStatusCn[$order['order_status']];?>,
					<?php echo OrderModel::$paymentStatus[$order['payment_status']];?>,
					<?php echo OrderModel::$shippingStatus[$order['shipping_status']];?><?php if($order['is_cheat']==2){echo ',<font color="red">疑似欺诈订单</font>';}?></td>
	<td>
	<?php 
	if(isset($order['productList']) && $order['productList']):
	  foreach ($order['productList'] as $key => $product):
	?>
	<?php echo $product['product_name']?>&nbsp;&nbsp;<?php echo $product['summary']?><br />
	<?php 
   	  endforeach;
   	endif;
	?>
	</td>
</tr>
<?php
endforeach;
endif;
?>

</tbody>
</table>
<div style="text-align:center;"><input type="button" class="button" onclick="javascript:window.print();" value="打印"></div>